<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>User列表</title>
</head>
<body>
    <table border="1">
        <tr>
            <td>编号</td>
            <td>昵称</td>
            <td>手机号</td>
            <td>密码</td>
            <td>角色</td>
        </tr>
        <tr th:each="user: ${userList}">
            <td th:text="${user.id}"></td>
            <td th:text="${user.nickName}"></td>
            <td th:text="${user.mobile}"></td>
            <td th:text="${user.password}"></td>
            <td th:text="${user.role}"></td>
        </tr>
    </table>
</body>
</html>
